//搭建数据库连接池
const mysql = require('mysql');
const pool = mysql.createPool(
    {
        host:"localhost",
        user:"root",
        port:"3306",
        password:'',
        database:"yys",
        charset:"utf8",
        connectionLimit:15
    }
);

module.exports = pool;